package dao;

import com.mchange.v2.c3p0.ComboPooledDataSource;

import javax.sql.DataSource;

public class MyDadtSoutce {
    private   static DataSource dataSource=null;

    static {
        ComboPooledDataSource ds =new ComboPooledDataSource();
        dataSource=ds;
    }
    public  static  DataSource getDataSource(){
        return  dataSource;
    }
}
